---
title: "update server state fields · RUAL Documentation"
description: "Sends a state update to the frontend and triggers updates based of it."
canonical: https://docs.rual.nl/block-types/state ui/state_update_state_fields
language: en
---

# update server state fields

This block is part of the [`state ui`](https://docs.rual.nl/block-types/state%20ui) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

### Type Selection Required

This block requires you to select the data type you want to work with. You must manually select the type using the type selector modal. To access the modal, click the white button on the block.

### Field Selection Required

This block requires field selection (in). You must manually select the fields you want to work with using the field selector modal. To access the modal, click the white button on the block.

Sends a state update to the frontend and triggers updates based of it.

- flow `flow`

- state keys required `array` State keys to update

- skip trigger `condition` if `true` given, it will not send this update back to the backend.

- flow `flow`

| `update multiple states` |
| --- |

A [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow and [update server state fields](https://docs.rual.nl/block-types/state ui/state_update_state_fields) writes the named keys from the page state back to the backend. The keys pin takes an array of key names, built here with [with values](https://docs.rual.nl/block-types/array/array_of_values) from two values. The flow then continues, here into a [debug](https://docs.rual.nl/block-types/state ui/state_debug) block that logs the state.

![Studio canvas example for the update server state fields block: pushing fields to the page state.](https://docs.rual.nl/canvas-examples/state_update_state_fields.png)

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
